import re

pattern = r"\d\d\.\d+"
s = "I studyPython3.11 every day Python2.7 I love you"
match = re.search(pattern, s)

print(match.group())  # Output: 3.11
